package org.webrtc.mqttclientsample;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.widget.Toast;

public class LogUtis {
	private static String TAG = "zzclient";
	public static void log(String log)
	{
		Log.i(TAG, log);
	}
	
	
	public static void showTast(final Context context,final String text)
	{
		new Handler(Looper.getMainLooper()).post(new Runnable() {
			
			@Override
			public void run() {
				// TODO Auto-generated method stub
				Toast.makeText(context.getApplicationContext(), text, Toast.LENGTH_LONG).show();
			}
		});
		
	}


}
